package com.common.exception.payment;

import com.common.exception.GlobalException;

public class PaymentException extends GlobalException {
    public static final String DEFAULT_MESSAGE = "支付异常";
    public static final String PAYMENT_NOT_EXIST = "支付记录不存在";
    public static final String PAYMENT_NOT_PAID = "支付未完成";
    public static final String PAYMENT_NOT_SUCCESS = "支付未成功";
    public static final String PAYMENT_NOT_REFUND = "支付未退款";
    public static final String PAYMENT_NOT_CANCEL = "支付未取消";
    public static final String PAYMENT_NOT_EXPIRED = "支付未过期";
    public static final String PAYMENT_NOT_CLOSED = "支付未关闭";
    public static final String PAYMENT_FAILED = "支付失败";
    public static final String PAYMENT_TYPE_ERROR = "支付类型错误";
    public static final String PAYMENT_CANCEL_FAILED = "支付取消失败";

    public PaymentException() {
        super();
    }
    public PaymentException(String message) {
        super(message);
    }
}
